-- GENERATED SPELL FOR [Raging Rot Hide] --


function spell0_1943(pUnit, Event) --@Curse of Thule,Self--
pUnit:FullCastSpellOnTarget(3237,pUnit)
pUnit:RegisterEvent('Sorts_1943', 2000, 1)
end

function Sorts_1943(pUnit, Event)
local choix_sorts_1943 = math.random(0, 0)
if choix_sorts_1943 == 0 then
pUnit:RegisterEvent('spell0_1943', 1, 1)
end
end

function mob1943_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1943', math.random(1500, 3000), 1)
end

function mob1943_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1943_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1943_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1943, 1, 'mob1943_Action')
RegisterUnitEvent(1943, 2, 'mob1943_Leave')
RegisterUnitEvent(1943, 3, 'mob1943_Kill')
RegisterUnitEvent(1943, 4, 'mob1943_Die')
